/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package UserObject;
import DuLieu.GiaoTiep;
/**
 *
 * @author NSPDL
 */
public class NhanVien implements GiaoTiep{
    private int IdNV;
    private String HoTen;
    private String DiaChi;
    private String SoDT;
    private int BacLuong;

    public NhanVien() {
    }

    public NhanVien(int IdNV, String HoTen, String DiaChi, String SoDT, int BacLuong) {
        this.IdNV = IdNV;
        this.HoTen = HoTen;
        this.DiaChi = DiaChi;
        this.SoDT = SoDT;
        this.BacLuong = BacLuong;
    }

    public int getIdNV() {
        return IdNV;
    }

    public void setIdNV(int IdNV) {
        this.IdNV = IdNV;
    }

    public String getHoTen() {
        return HoTen;
    }

    public void setHoTen(String HoTen) {
        this.HoTen = HoTen;
    }

    public String getDiaChi() {
        return DiaChi;
    }

    public void setDiaChi(String DiaChi) {
        this.DiaChi = DiaChi;
    }

    public String getSoDT() {
        return SoDT;
    }

    public void setSoDT(String SoDT) {
        this.SoDT = SoDT;
    }

    public int getBacLuong() {
        return BacLuong;
    }

    public void setBacLuong(int BacLuong) {
        this.BacLuong = BacLuong;
    }

    @Override
    @SuppressWarnings("empty-statement")
    public Object[] toObject() {
        return new Object[]{getIdNV(),getHoTen(),getDiaChi(),getSoDT(),getBacLuong()};
    }
    
}
